from controller import Controller
from job import Job
import time

def print_current_time():
    c = time.ctime()
    print(c)
    return c

def next_fuc():
    print('print from next func')



c = Controller('controller1')
t1 = c.addTask()
t1.addJob(Job(exc_func=print_current_time,next_func=next_fuc))
t1.run()


